package cn.itsource;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 启动类
 *
 * mybatis-plus
 *
 */
@SpringBootApplication
@MapperScan("cn.itsource.*.mapper")        // 使用通配符保证可以扫到每个包里面的mapper
@EnableCaching            // 启用SpringCache
public class PetHomeApp {
                                    
    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class, args);
    }
}
